<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="row row-offcanvas row-offcanvas-right">
	<div class="col-xs-12 col-sm-9">
		<p class="pull-right visible-xs">
			<button type="button" class="btn btn-primary btn-xs"
				data-toggle="offcanvas">Toggle nav</button>
		</p>
		<div class="jumbotron my-index">
			<h1>Hi~ 昵称</h1>
			<p>欢迎使用TCS签到服务，TSC - Sgin 是基于TCS-API开发的一组免费的贴吧签到托管系统，祝您使用愉快。</p>
		</div>
		<div class="row">
			<jstl:if test="${user.tbUsers.size()<=0 }">
				 　您没有关联任何百度账号，
			<a href="#" class="add-baiduuser">添加</a>？
			</jstl:if>
			<jstl:if test="${user.tbUsers.size()>0 }">
				<jstl:forEach var="tbUser" items="${user.tbUsers}">
					<div class="col-xs-6 col-lg-4">
						<h2>头像</h2>
						<p>${tbUser.username }</p>
						<p>
							<!-- Single button -->
						<div class="btn-group">
							<button type="button" class="btn btn-info dropdown-toggle"
								data-toggle="dropdown">
								操作<span class="caret"></span>
							</button>
							<ul class="dropdown-menu" role="menu">
								<li><a class="dropdown-menu-sign" bd-id="${tbUser.buId }"
									href="#">签到</a></li>
								<li><a bd-id="${tbUser.buId }" href="#">检测</a></li>
								<li><a bd-id="${tbUser.buId }" href="#">刷新</a></li>
								<li class="divider"></li>
								<li><a href="bduser/remove/${tbUser.buId }">删除</a></li>
							</ul>
						</div>
						</p>

					</div>
				</jstl:forEach>
			</jstl:if>
			<!-- 注意：添加账号后此处会迭代出以下元素 -->
			<div class="col-xs-6 col-lg-4">
				<h2>待添加</h2>
				<p>╭(╯^╰)╮</p>
				<p>
					<button type="button" class="add-baiduuser btn btn-primary">添加</button>
				</p>
			</div>
		</div>
		<!--/row-->
	</div>
	<!--/.col-xs-12.col-sm-9-->

	<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar"
		role="navigation">
		<jsp:include page="list-group.jsp" />
	</div>
	<!--/.sidebar-offcanvas-->
</div>
<!--/row-->

<hr>

<footer>
	<p>&copy; Company 2014</p>
</footer>

